For: Managing the game win lost condition and scene transition

Task:
1. Implement lose condition monitoring
2. Implement win condition monitoring.
3. Handle scene transitions for main menu, end scene, and win scene
